
import java.util.Scanner;

class SOMA {

    public static void main(String[] args) {
        int n = 0, x = 0, soma = 0;
        Scanner ler = new Scanner(System.in);

        n = ler.nextInt();

        while (n > 0) {
            soma += ler.nextInt();
            n--;
        }

        System.out.println(soma);

    }
}
